import styled from "styled-components";

export const XaingCss = styled.div`
  /* height: 20px; */
  overflow: auto;
  height: 100vh;
  .fanhui {
    z-index:999;
    height: 30px;
    width: 30px;
    /* background: #ddd; */
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(221, 221, 221, 0.8);
  }
  .pic_box {
    height: 100vw;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .sp_xq {
    background: rgba(219, 194, 128, 1);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
  }
  .sp_name {
    height: 96px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    .jiage {
      margin: 10px 0;
      span {
        font-size: 25px;
        color: #de3e26;
        margin-right: 10px;
      }
      s {
        font-size: 16px;
        color: grey;
        text-decoration: line-through;
      }
      .fenx {
        position: absolute;
        height: 30px;
        width: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        right: 0;
        top: 25px;
        /* padding-left: 15px; */
        border-left: 1px solid #ddd;
        img {
          width: 18px;
        }
        span {
          font-size: 12px;
          color: #333;
          margin: 0;
        }
      }
    }
    p {
      font-size: 20px;
      color: #333;
    }
  }
  .yixuan {
    margin-top: 10px;
    height: 170px;
    padding: 0 15px;
    background: #fff;
    .text {
      width: 100%;
      display: flex;
      border-bottom: 1px solid #ddd;
      height: 68px;
      align-items: center;
      .p1 {
        color: grey;
        font-size: 14px;
        margin-right: 20px;
      }
      .p3 {
        flex: 1;
        text-align: r;
      }
    }
    .pic_info {
      padding: 18px 0;
      height: 64px;
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      .infoBox {
        width: 33%;
        font-size: 12px;
        color: grey;
        margin: 5px 0;
        img {
          width: 14px;
          height: 14px;
        }
      }
    }
  }
  .infoPic {
    margin-top: 10px;
    background: #fff;
    p {
      text-align: center;
    }
    img {
      width: 100%;
    }
  }
  /* 底部 */
  .foot {
    width: 100vw;
    position: fixed;
    bottom: 0;
    height: 58px;
    background: #fff;
    display: flex;
    justify-content: center;
    div {
      width: 48px;
      display: flex;
      align-content: center;
      flex-direction: column;
      text-align: center;
      font-size: 12px;
      
      span{
          font-size: 20px;
      }
    }
    .btn {
      flex-direction: row;
      display: flex;
      width: 270px;
      height: 40px;
      color: #fff;

      span {
        flex: 1;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
      }
      .che {
        background: linear-gradient(90deg, #ffd01e, #ff8917);
        border-bottom-left-radius: 99px;
        border-top-left-radius: 99px;
      }
      .mai {
        background: linear-gradient(90deg, #ff6034, #ee0a24);
        border-bottom-right-radius: 99px;
        border-top-right-radius: 99px;
      }
    }
  }
  .slider-frame{
    height: 100vw;
    width: 100vw;
  }
`;
